package io.github.liuyuhao412.manager.request;

/**
 * 接收前端登录请求数据
 */
public class LoginRequest {
	private String username;
	private String password;

	// 无参构造
	public LoginRequest() {
	}

	// 带参构造（可选）
	public LoginRequest(String username, String password) {
		this.username = username;
		this.password = password;
	}

	// getter 和 setter
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
